home *** CD-ROM | disk | FTP | other *** search
- /*
- * ToDoMatrix
- *
- * You may freely copy, distribute and reuse the code in this example.
- * This code is provided AS IS without warranty of any kind, expressed
- * or implied, as to its fitness for any particular use.
- *
- * Copyright 1995 Ralph Zazula (rzazula@next.com). All Rights Reserved.
- *
- */
-
- #import "ToDoMatrix.h"
-
- @implementation ToDoMatrix
-
- - mouseDown:(NXEvent *)theEvent
- {
- if ([window makeFirstResponder:window]) {
- [window endEditingFor:nil];
- }
- return [super mouseDown:theEvent];
- }
-
- - (BOOL)acceptsFirstResponder
- {
- return YES;
- }
-
- @end
-